package com.xayq.orap.mapper;

import java.util.Map;

import com.xayq.orap.model.AccessToken;
import com.xayq.orap.model.ClientDetails;
import com.xayq.orap.model.OAuthCode;

public interface OAuthMapper {

//	ClientDetails findClientDetails(String clientId);

	public void saveOAuthCode(OAuthCode oAuthCode);

	public OAuthCode getOAuthCode(Map params);

	public int deleteOAuthCode(Map params);

	public void saveAccessToken(AccessToken accessToken);
	
	public AccessToken getAccessToken(Map params);

	public int deleteAccessToken(Map params);

}
